package com.tjetc.dao;

import com.tjetc.domain.Category;

import java.sql.SQLException;
import java.util.List;

public interface CategoryDao {
    Category getById(int cid) throws SQLException;

    List<Category> list() throws SQLException;
}
